package com.kata.chapter2;

/**
 * Created by Solidsnake on 2014/11/16.
 */
public class BenZFactory implements FactoryMethod {

    @Override
    public Car getCar() {
        BenZ benZ = new BenZ();
        benZ.setName("奔驰牌小汽车");
        benZ.setDrive("奔驰够舒适!");
        return benZ;
    }
}
